package ink.metoo.auto.fishpi.job

import ink.metoo.auto.fishpi.chatroom.ChatRooms

class ChatRoomKeepAliveJob : RunnableJob {

    override fun run() {
        val ws = ChatRooms.ws
        if (ws == null) {
            ChatRooms.refresh()
            return
        }
        ws.send("-hb-")
    }

}